home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperHackers.cpt / Hyper-Hackers Queue 1.0 / card_18445.txt < prev    next >
Text File  |  1989-02-26  |  938b  |  40 lines

  1. -- card: 18445 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3797
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. From: sysop@stech.UUCP (Jan Harrington)
  12.  
  13. Date: 27 Feb 88 12:21:16 GMT
  14.  
  15. > My problem is that the button contains the following script: (in part)
  16.  
  17. > repeat with the number of cards of this bkgnd
  18.  
  19. > ...do the checking
  20.  
  21. > end repeat
  22.  
  23. >     Problem is, this doesn't work, and HC chokes on the "of this bkgnd".
  24. > For my music stack this isn't a major problem... I only have one bkgnd,
  25. > so I just took out the "of this bkgnd" part of the button script.  that works
  26. > fine.
  27.  
  28. Sometimes you have to put a quantity into a container all of its own to use
  29. it in a repeat statement.   Try something like:
  30.  
  31. put the number of cards of this background into NumbCards
  32. repeat with NumbCards ...
  33.  
  34. end repeat
  35.  
  36.  
  37.  
  38. -- part contents for background part 45
  39. ----- text -----
  40. Re: "Repeat with...." question